package com.globallogic.university.people;

import java.util.ArrayList;


public class StudentGroup {
	public ArrayList<Student> enrolledStudents = new ArrayList<Student>();
	private String groupId;
	
	public StudentGroup(String groupId) {
		this.groupId = groupId;
		
	}

	public ArrayList<Student> getEnrolledStudents() {
		return enrolledStudents;
	}

	public void enrollStudent(Student student) {
		enrolledStudents.add(student);
	}

	public String getGroupId() {
		return groupId;
	}
}